Code
import pandas as pd
df = pd.read_parquet("data/eda.parquet")--------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[1], line 2 1 import pandas as pd ----> 2 df = pd.read_parquet("data/eda.parquet") File /opt/hostedtoolcache/Python/3.11.12/x64/lib/python3.11/site-packages/pandas/io/parquet.py:651, in read_parquet(path, engine, columns, storage_options, use_nullable_dtypes, dtype_backend, filesystem, filters, **kwargs) 498 @doc(storage_options=_shared_docs["storage_options"]) 499 def read_parquet( 500 path: FilePath | ReadBuffer[bytes], (...) 508 **kwargs, 509 ) -> DataFrame: 510 """ 511 Load a parquet object from the file path, returning a DataFrame. 512 (...) 648 1 4 9 649 """ --> 651 impl = get_engine(engine) 653 if use_nullable_dtypes is not lib.no_default: 654 msg = ( 655 "The argument 'use_nullable_dtypes' is deprecated and will be removed " 656 "in a future version." 657 ) File /opt/hostedtoolcache/Python/3.11.12/x64/lib/python3.11/site-packages/pandas/io/parquet.py:67, in get_engine(engine) 64 except ImportError as err: 65 error_msgs += "\n - " + str(err) ---> 67 raise ImportError( 68 "Unable to find a usable engine; " 69 "tried using: 'pyarrow', 'fastparquet'.\n" 70 "A suitable version of " 71 "pyarrow or fastparquet is required for parquet " 72 "support.\n" 73 "Trying to import the above resulted in these errors:" 74 f"{error_msgs}" 75 ) 77 if engine == "pyarrow": 78 return PyArrowImpl() ImportError: Unable to find a usable engine; tried using: 'pyarrow', 'fastparquet'. A suitable version of pyarrow or fastparquet is required for parquet support. Trying to import the above resulted in these errors: - Missing optional dependency 'pyarrow'. pyarrow is required for parquet support. Use pip or conda to install pyarrow. - Missing optional dependency 'fastparquet'. fastparquet is required for parquet support. Use pip or conda to install fastparquet.